<?php
namespace FoxLib\Exceptions;

use Symfony\Component\HttpKernel\Exception\HttpException;

class FileUploadException extends HttpException
{
    protected $message = '上传文件出错';
    protected $code = 'file.upload.failed';

    public function __construct()
    {
        parent::__construct(400, $this->message);
    }
}
